# -*- coding: utf-8 -*

'''
Created on 25.09.2011

@author: Oleg
'''

from google.appengine.ext import webapp
from google.appengine.ext.webapp import util
import pageclasses

def main():
    application = webapp.WSGIApplication([('/', pageclasses.MainHandler),
                                          ('/admin', pageclasses.AdminForm),
                                          ('/addnews', pageclasses.AddNewsForm),
                                          ('/newslist', pageclasses.NewsAdminList),
                                          ('/joblist', pageclasses.VacancyAdminList),
                                          ('/addvacancy', pageclasses.AddVacancyForm),
                                          ('/opinions', pageclasses.OpinionList),
                                          ('/feedback', pageclasses.Feedback)
                                          ], debug=True)
    util.run_wsgi_app(application)
    
if __name__ == '__main__':
    main()
